//http://localhost:8080/add
const router = require("koa-router")();

/* const Router = require("koa-router")
const router = new Router();
console.log(router instanceof Router) */
// 查询数据库
router.get("/m1/add",async ctx=>{
    // ctx.body = "add"
    /* var {id} = ctx.query;
    if(id){

    }else{
        
    } */
    await ctx.render("add")
})
module.exports = router;